package com.api.shopapi.service;

import com.api.shopapi.entity.PracticeSite;
import com.api.shopapi.entity.VolunteerTeam;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface PracticeSiteService {

    int insert(PracticeSite practiceSite);


    int delete(String practiceSiteCode);


    int update(PracticeSite practiceSite);

    PracticeSite getByPracticeSiteCode( String practiceSiteCode);

    PracticeSite getByUserCode(String userCode);


    /**
     * 所有的志愿队伍
     * */
    PageInfo<PracticeSite> pageByCommandCenterCode(int pageIndex, int pageSize, String commandCenterCode, int applyStatus);

    /**
     * 待审核志愿队伍
     * */
    PageInfo<PracticeSite> pageByCommandCenterCodeApply(int pageIndex, int pageSize, String commandCenterCode);



    /**
     * 所有的志愿队伍
     * */
    PageInfo<PracticeSite> pageByGovCode(int pageIndex, int pageSize, String governmentCode);


}
